package com.mfz.users

import com.mfz.common.dbHelper.dbHelper
import com.mfz.common.definition.symbol.Flag
import com.mfz.common.definition.symbol.Type
import com.mfz.users.definition.ADMINISTRATOR
import org.junit.Test

/**
 * create by 2020/1/22.
 *
 * @author zhengyimin
 */
class UserTest {

	@Test
	fun testType() {
		ADMINISTRATOR
		Type.forEach {
			println(it.name + it.id)
		}

		println(Flag.findById(1))
	}

	@Test
	fun testArray(){
		val d = arrayOf<Int>(1,2,3,45,6,7)
		println(dbHelper.format(d))
	}
}
